package com.mida.dms.knw.entity;

import java.io.Serializable;
import java.util.Date;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;

/**
 * 数据模型
 * @author conyfrommars
 *
 */
@Setter
@Getter
public class DtModel implements Serializable {

    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long soid;

    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long domainId;

    private String modelEngName;

    private String modelChiName;

    private String pyCode;

    private String wbCode;

    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long status;

//    private Long version;
    private Double version;

    private String definition;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date publishDate;

    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long isDelete;

    private Date createDate;

    private Date updateDate;

    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long updateUser;

    private String  name;

    private static final long serialVersionUID = 1L;

   
}